package ThreadPratice;

public class ThreadPratice {

	public static void main(String[] args) {
		MyThread mt1 = new MyThread("支线一");
		MyThread mt2 = new MyThread("支线二");
		mt1.setPriority(1);
		mt2.setPriority(10);
		mt1.start();
		mt2.start();

//		for (int i = 0; i < 100; i++) {
//			System.out.println("主线进程->" + i);
//		}
//		mt.setPriority(6);

//		System.out.println(Thread.currentThread().getPriority());
		
		
	}

}
